package com.elm.mapper;

import com.elm.po.DeliveryAddress;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface DeliveryAddressMapper {
    List<DeliveryAddress> getDeliveryAddressByUserId(String userId);
    int saveDeliveryAddress(DeliveryAddress deliveryAddress);
    DeliveryAddress getDeliveryAddressById(Integer daId);
    int updateDeliveryAddress(DeliveryAddress deliveryAddress);
    int removeDeliveryAddress(Integer daId);
    int setDefaultAddress(Integer daId);
}